home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-02-19 | 3.2 KB | 156 lines |
- #
- # This make file is the main make file of the IRIT solid modeller and its
- # auxilary tools. Uses DJGCC gcc port form 386 machines.
- #
- # Gershon Elber, Nov. 1991
- #
-
- # Works only on TC++ 1.0 make and up - swap out make before invoking command.
- .SWAP
-
- # Includes generic definitions.
- !include "makeflag.djg"
-
- all: xtra_lib misc_lib cagd_lib symb_lib triv_lib trim_lib \
- prsr_lib geom_lib bool_lib circlink \
- grapdrvs irit poly3d-h illustrt \
- filters docs
- type &&!
- Before executing the test suite and/or any usage of this package
- you will have to issue the following commands:
-
- set IRIT_PATH=$(BIN_DIR)/
- set path = %path%;$(BIN_DIR)
-
- or similar.
- !
-
- #
- # Uncommend the following variable to only see the actions taken.
- #
- # VIEW_ONLY = -n
-
- poly3d-h:
- cd poly3d-h
- -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
- cd ..
-
- illustrt:
- cd illustrt
- -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
- cd ..
-
- xtra_lib:
- cd xtra_lib
- -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
- cd ..
-
- misc_lib:
- cd misc_lib
- -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
- cd ..
-
- cagd_lib:
- cd cagd_lib
- -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
- cd ..
-
- symb_lib:
- cd symb_lib
- -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
- cd ..
-
- trim_lib:
- cd trim_lib
- -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
- cd ..
-
- triv_lib:
- cd triv_lib
- -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
- cd ..
-
- prsr_lib:
- cd prsr_lib
- -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
- cd ..
-
- geom_lib:
- cd geom_lib
- -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
- cd ..
-
- grapdrvs:
- cd grapdrvs
- -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
- cd ..
-
- bool_lib:
- cd bool_lib
- -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
- cd ..
-
- circlink:
- cd circlink
- -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
- cd ..
-
- irit:
- cd irit
- -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
- cd ..\docs
- -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
- cd ..
-
- filters:
- cd filters
- -$(MAKE) $(VIEW_ONLY) -fmakefile.djg install
- cd ..
-
-
- clean:
- -rm poly3d-h\*.map poly3d-h\*.bak poly3d-h\*.old poly3d-h\*.hdn poly3d-h\*.sym
- -rm illustrt\*.map illustrt\*.bak illustrt\*.old illustrt\*.gif illustrt\*.sym
- -rm filters\*.map filters\*.bak filters\*.old filters\*.sym
- -rm prsr_lib\*.map prsr_lib\*.bak prsr_lib\*.sym
- -rm geom_lib\*.map geom_lib\*.bak geom_lib\*.sym
- -rm cagd_lib\*.map cagd_lib\*.bak cagd_lib\*.sym
- -rm symb_lib\*.map symb_lib\*.bak symb_lib\*.sym
- -rm trim_lib\*.map trim_lib\*.bak trim_lib\*.sym
- -rm triv_lib\*.map triv_lib\*.bak triv_lib\*.sym
- -rm grapdrvs\*.map grapdrvs\*.bak grapdrvs\*.sym
- -rm circlink\*.map circlink\*.bak circlink\*.sym
- -rm xtra_lib\*.map xtra_lib\*.bak xtra_lib\*.sym
- -rm misc_lib\*.map misc_lib\*.bak misc_lib\*.sym
- -rm irit\*.map irit\*.bak irit\*.old irit\*.sym irit\*.dat
- -rm docs\irithlp.exe
-
- cleanobj:
- -rm poly3d-h\*.o illustrt\*.o irit\*.o
- -rm filters\*.o cagd_lib\*.o symb_lib\*.o xtra_lib\*.o
- -rm misc_lib\*.o prsr_lib\*.o geom_lib\*.o grapdrvs\*.o
- -rm trim_lib\*.o trim_lib\*.o
- -rm circlink\*.o docs\*.o docs\irithlp.exe
-
- #
- # Make hardcopy documentation.
- #
- docs:
- cd docs
- -$(MAKE) $(VIEW_ONLY) -fmakefile.djg irit.tex irit.doc
- cd ..
-
- #
- # Test some of the above programs. Make sure $(BIN_DIR) is in your path
- #
- test:
- cd irit
- -irit demo
- cd ..\poly3d-h
- -test-dos
- cd ..\illustrt
- -test-dos
- cd ..\filters
- -test-dos
- cd ..
-